import request from '@/utils/request'

// 查询来料入库列表
export function listCpkc(query) {
  return request({
    url: '/warehouse/cpkc/cpkclist',
    method: 'get',
    params: query
  })
}

// 查询来料记录列表
export function increaseList(query) {
  return request({
    url: '/warehouse/cpkc/increaseList/'+query,
    method: 'get'
  })
}

// 查询库存详情列表
export function inventoryList(query) {
  return request({
    url: '/warehouse/cpkc/inventoryList/'+query,
    method: 'get'
  })
}

// 查询消耗详情列表
export function consumeList(query) {
  return request({
    url: '/warehouse/cpkc/consumeList/'+query,
    method: 'get'
  })
}
